* {
    margin: 0;
    padding: 0;
    /* font-size: 12px; */
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #8d9ea7;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #8d9ea7;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.3);
    background-color: #495057;
}

html, body {
    height: 100%;
}

.ds-layout {
    position: absolute;
}

.ds-layout-top {
    height: 40px;
    top: 0px;
    left: 0px;
    right: 0px;
    display: flex;
    background-color: #1B9AF7;
    font-size: 12px;
}

.ds-layout-left {
    width: 300px;
    top: 40px;
    left: 0px;
    bottom: 0px;
    display: flex;
    flex-direction: column;
}

.ds-layout-center {
    top: 40px;
    left: 300px;
    bottom: 0px;
    right: 0px;
    display: block;
    flex-direction: column;
}

.dsc-content {
    display: flex;
    border: 1px solid #1b9af7;
    height: 300px;
}

.edit-content {
}

.orderby-content {
    flex: 0;
    border-top: none;
    line-height: 40px;
    height: 41px;
}

.orderby-label {
    font-size: 12px;
    padding: 0 10px;
}

.orderby-input {
    height: 40px;
    display: inline-block;
    width: calc(100% - 80px);
}

.orderby-input input {
    height: 100%;
    width: 100%;
    border: none;
    top: -1px;
    position: relative;
    outline: 0;
}

.view-content {
    border-top: none;
    height: calc(100% - 341px);
    min-height: 300px;
    overflow: auto;
}

.view-content.collapse {
    flex: 0 0 62px;
}

.dsl-datasources-list {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 12px;
    font-family: Microsoft YaHei;
}

.dsl-datasources-list select {
    width: 100%;
}

.dsl-datasource-tree {
    flex: 1;
    overflow: auto;
}

.dsl-datasource-define {
    flex: 0 0 40px;
    background-color: #1b9af7;
    line-height: 40px;
    text-align: center;
    color: #fff;
}

.ec-tabs {
    width: 100%;
}

.ds-title {
    flex: 0 0 280px;
    line-height: 40px;
    color: #ffffff;
    padding-left: 20px;
}

.ds-tools {
    flex: 0 0 230px;
}

.ds-tablename {
    flex: 1;
    text-align: center;
    color: #ffffff;
    line-height: 40px;
}

.ds-tablename input {
    border: none;
    height: 20px;
    width: 200px;
    border-radius: 20px;
    padding: 0 16px;
    outline: 0;
}

.ds-quit {
    flex: 0 0 230px;
    text-align: right;
}

.dsl-btn {
    width: 290px;
}

.ec-scene {
    width: 100%;
    height: 100%;
    border: 2px solid #FFFFFF;
    position: relative;
}

.ec-scene.on {
    border: 2px solid #007FFF;
}

.ec-scene.on.onhover {
    border: 2px solid #FF5C69;
}

/*  ztree*/
span.tmpzTreeMove_arrow {
    display: none !important;
}

.ztree li a:hover {
    text-decoration: none;
}

ul.tmpTargetzTree {
    background-color: #42ABF8;
    opacity: 0.3;
}

.tableTree {
    height: 100%;
    width: 100%;
}

.tableTree.ztree li ul {
    padding: 0 0 0 250px;
}

.tableTree.ztree li {
    margin-bottom: 45px;
}

.tableTree.ztree li a {
    border: 1px solid #1b9af7;
    padding: 10px;
    width: 160px;
    display: block;
    border-radius: 36px;
    text-align: center;
    position: relative;
}

.tableTree.ztree li a.curSelectedNode {
    background-color: rgba(27, 154, 247, 0.3);
}

.tableTree.ztree li a.tmpTargetNode_inner {
    background-color: #007FFF;
    color: #FFFFFF;
}

.table-tag .tag-cp {
    display: none;
    text-align: center;
    position: absolute;
    top: 45px;
    left: 0;
}

.table-tag .tag-cp.onhover {
    display: block;
}

.table-tag .tag-cptype {
    padding: 5px 30px;
    border: 1px solid #e6e6e6;
    display: inline-block;
    border-radius: 16px;
    background-color: #ffffff;
}

.table-tag .tag-cptype.tag-cptype-union {
    margin-right: 10px;
}

.table-tag .tag-cptype.tag-cptype-join {
}

.table-tag .tag-cptype.on {
    background-color: #4CB0F9;
    border: 1px solid #4CB0F9;
    color: #FFFFFF;
}

/*ztree end*/
/*jqueryui tabs css*/
.ui-widget.ui-widget-content {
    border: none;
    padding: 0px;
    margin: 0px;
}

.ui-tabs .ui-tabs-nav {
    border: none;
    padding: 0px;
    margin: 0px;
    font-size: 12px;
}

.ui-tabs .ui-tabs-nav li {
    border: none;
    padding: 0px;
    margin: 0px;
    border-radius: 0px;
    background-color: #ffffff;
    border-bottom: 3px solid #ffffff;
    outline: none;
    width: 100px;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    border: none;
    outline: none;
    color: #000;
    display: block;
    float: unset;
    text-align: center;
}

.ui-widget-header {
    background-color: #FFFFFF;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active {
    border-bottom: 3px solid #007fff;
}

.ui-tabs .ui-tabs-panel {
    position: absolute;
    top: 30px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

/*jqueryui tabs css end*/
/*data sources*/
.page-content {
    background-color: #0000;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.datasource-group {
}

.datasource-group-name {
    padding-left: 24px;
    padding-top: 24px;
    padding-bottom: 8px;
}

.dataSource-group-container {
    padding: 24px;
    padding-top: 0;
}

.dataSourceItem {
    float: left;
    margin: 0 10px 8px 0;
    position: relative;
    cursor: pointer;
    background: #e5e5e5;
    transition: opacity .2s;
    position: relative;
    cursor: pointer;
    text-align: left;
    transition: all 0.75s;
}

.dataSourceItem:hover {
    box-shadow: 9px 13px 13px 0px #767575;
    transform: scale(1.1);
    z-index: 1;
}

.dataSourceItem .close {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 24px;
    height: 24px;
}

.dataSourceItem .close span {
    font-size: 24px;
}

.dataSource-group-container .dataSourceItem .iconContainer {
    width: 180px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../img/DBImage.png);
}

.dataSource-group-container .dataSourceItem .text {
    height: 36px;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dataSource-group-container .dataSourceItem .text .title {
}

.ds-source {
    background-color: #363636;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, .1);
}

.category-list {
    color: #d1d1d1;
    padding: 16px;
}

.datasource-item {
    height: 36px;
    line-height: 36px;
    padding-left: 8px;
    cursor: pointer;
}

.datasource-item.child-node {
    padding-left: 24px;
    display: flex;
    align-items: center;
}

.datasource-item:hover {
    background-color: #3C3C3C;
}

.datasource-item-icon {
    height: 16px;
    width: 16px;
    margin-right: 8px;
    background-image: url(../img/DBImageIcon.png);
}

.datasource-item-name {
}

.datasource-item-icon.MySql {
    background-position: 0px -104px
}

.datasource-item-icon.Oracle {
    background-position: 0px -182px;
}

.datasource-item-icon.Postgres {
    background-position: 0px -338px;
}

.datasource-item-icon.PostgreSQL {
    background-position: 0px -338px;
}

.datasource-item-icon.Db2 {
    background-position: 0px -368px;
}

.datasource-item-icon.Sybase {
    background-position: 0px -428px;
}

.datasource-item-icon.Jndi {
    background-position: 0px -459px;
}

.datasource-item-icon.Informix {
    background-position: 0px -398px;
}

.datasource-item-icon.SQLite {
    background-position: 0px -234px;
}

.datasource-item-icon.SqlServer {
    background-position: 0px -260px;
}

.datasource-item-icon.Csv {
    background-position: 0px 0px;
}

.datasource-item-icon.Excel {
    background-position: 0px -26px;
}

.datasource-item-icon.Json {
    background-position: 0px -52px;
}

.datasource-item-icon.Xml {
    background-position: 0px -312px;
}

.datasource-item-icon.MongoDB {
    background-position: 0px -78px;
}

.datasource-item-icon.ODBC {
    background-position: 0px -156px;
}

.datasource-item-icon.OData {
    background-position: 0px -130px;
}

.iconContainer.MySql {
    background-position: 0px -560px;
}

.iconContainer.Oracle {
    background-position: 0px -980px;
}

.iconContainer.Postgres {
    background-position: 0px -1820px;
}

.iconContainer.PostgreSQL {
    background-position: 0px -1820px;
}

.iconContainer.Sybase {
    background-position: 0px -2240px;
}

.iconContainer.Jndi {
    background-position: 0px -2380px;
}

.iconContainer.Informix {
    background-position: 0px -2100px;
}

.iconContainer.Db2 {
    background-position: 0px -1960px;
}

.iconContainer.SQLite {
    background-position: 0px -1260px;
}

.iconContainer.SqlServer {
    background-position: 0px -1400px;
}

.iconContainer.Csv {
    background-position: 0px 0px;
}

.iconContainer.Excel {
    background-position: 0px -140px;
}

.iconContainer.Json {
    background-position: 0px -280px;
}

.iconContainer.Xml {
    background-position: 0px -1680px;
}

.iconContainer.MongoDB {
    background-position: 0px -420px;
}

.iconContainer.ODBC {
    background-position: 0px -840px;
}

.iconContainer.OData {
    background-position: 0px -700px;
}

/*data sources end*/
/* dataConfig */
.ds-layout-center.data-config {
    top: 0px;
    left: 0px;
    /* background-color: #ddd; */
}

.data-config .dsc-content {
    margin: 10px 10px 10px 10px;
    border-radius: 20px;
    box-shadow: 0px 0px 2px 0px #6d6b6b;
    background-color: #ffffff;
    border: 0px;
    display: block;
    overflow: auto;
}

.dataSource-group-addbtn {
    float: left;
    margin: 0 10px 8px 0;
    width: 178px;
    height: 164px;
    display: block;
    line-height: 166px;
    text-align: center;
    font-size: 72px;
    border: 1px solid #dddddd;
    color: #dddddd;
    cursor: pointer;
    transition: all 0.75s;
}

.dataSource-group-addbtn:hover {
    border: 1px solid #000000;
    color: #000000;
}

/* dataConfig end */
/* datasetsSQL */
.ds-layout-center.datasetsSQL {
    /*  left: 0px; */
}

.select2-results__option {
    font-size: 12px;
}

.params-btn {
    height: 30px;
}

.getparambtn {
    border-radius: 5px;
    padding: 5px 10px;
    background-color: #1b9af7;
    color: #fff;
    border: 0;
    font-size: 12px !important;
}

.params-list {
    height: calc(100% - 30px);
    overflow-y: auto;
}

.params-item {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: -1px;
}

.param-inputs {
    border: 1px solid #ddd;
    height: 30px;
    width: 200px;
    border-radius: 5px;
    padding: 0 16px;
    outline: 0;
    font-size: 12px !important;
}

.param-name {
    width: 120px;
    display: inline-block;
}
